home *** CD-ROM | disk | FTP | other *** search
- Subject: Content/Frame/Part question
- Sent: 5/20/96 9:48 AM
- Received: 5/22/96 8:31 AM
- From: Hutchings Software Development, hsd@earthlink.net
- Reply-To: ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- Hi,
-
- I've got a question about how the Content class should work with Frames and
- Parts.
-
- Here's the scenario. The content of a part I'm trying to build is basically
- text that the user edits in a FW_CEditText view. I keep an FW_CString in my
- Content class, but it needs to be updated before externalizing. So I would
- guess I should overide FW_CPart::ExternalizeContent() to do the
- synchronization, then call inherited::ExternalizeContent(), right?
-
- Is that the right idiom for "just in time" content updating, where it would
- be too expensive and unnecessary for a frame to adjust the content with
- each change the user makes? Or have I overlooked something you put in ODF
- for R1?
-
- If so, could a general UpdateContent() method be put in the FW_CPart class
- to handle things like content updating before externalization, apple event
- processing, linking, etc.?
-
-
- Brad
-
-
- Richard B. "Brad" Hutchings
- General Partner,
- Hutchings Software Development
-
- hsd@earthlink.net
-